
//  RequestUrl.h
//  LazyCat


#ifndef LazyCat_RequestUrl_h
#define LazyCat_RequestUrl_h

//================================================================
                        /** 推送key*/
//================================================================
// AppStore
//#define kAppId           @"JFmy0zlzx86MdGpLEeJZx6"
//#define kAppKey          @"i5JVGCGdLZ5hXi4nuriXO1"
//#define kAppSecret       @"1I9KJa3wI18QjutRnS55h5"

// 正式企业版
//#define kAppId           @"r5AnTXMz496ArIkwmTNE31"
//#define kAppKey          @"zwUYA2DEfN6SNArYCi4WO3"
//#define kAppSecret       @"QX65TzXCDw9qh3AKiYprLA"

// 测试版
#define kAppId           @"AMqWte8cCH6FxTJRjb2IR7"
#define kAppKey          @"LC5MGkFvMn77gR6UlONmYA"
#define kAppSecret       @"qpsJekBxOw7j4fbg1wxtl4"


// 如果AppStore 版本值为:AppStore.IOS1.0.2
// 如果企业版 版本值为:IOS1.0.2
// 企业版越过1.0.3
#define banBen @"IOS1.0.0"

//================================================================
//================================================================


/********************************链接地址***********************************/

/**
 *  懒掌柜正式
 */
//#define BaseUrl @"http://mlzg.lmboss.com"  //接口
//#define StaticUrl @"http://mlzg.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5

/**
 *   懒掌柜测试
 */
#define BaseUrl @"http://mlzgtest.lmboss.com"  //接口
#define StaticUrl @"http://mlzgtest.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5


/**
 *   懒掌柜后台测试
 */

//#define BaseUrl @"http://m.lmboss.com"  //接口
//#define StaticUrl @"http://m.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5


//#define BaseUrl @"http://mtest.lmboss.com"  //接口
//#define StaticUrl @"http://mtest.lmboss.com/AppGetway/AppToWeb.aspx?"    //html5


//#define BaseUrl @"http://210.14.79.98:29666"  //接口
//#define StaticUrl @"http://210.14.79.98:29666/AppGetway/AppToWeb.aspx?"    //html5


//#define BaseUrl @"http://192.168.1.27:8080"  //接口
//#define StaticUrl @"http://192.168.1.27:8080/AppGetway/AppToWeb.aspx?"    //html5

//#define BaseUrl @"http://192.168.1.27"  //接口
//#define StaticUrl @"http://192.168.1.27/AppGetway/AppToWeb.aspx?"    //html5
/*************************************************************************/
//懒猫社长接口//部分
/*************************************************************************/
#define GetStarAppMessUrl  BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=NearData&x=%f&y=%f&sign2=%@"
#define GetShopByCityID BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=CityID&cityid=%@&sign2=%@"
#define GetHomeMessUrl BaseUrl @"/WPT-OpenAPI?control=LCatCommon&action=Index&shopuser=%@&x=%f&y=%f&username=%@&sign2=%@"
#define SearchProduct BaseUrl @"/WPT-OpenAPI?control=ShopCommon&action=ProSearch&shopuser=%@&curr=%ld&key=%@&sign2=%@"
#define GetUserMess BaseUrl @"/WPT-OpenAPI?action=GetUserInfo&control=MemberCommon&username=%@&sign2=%@"






/*************************************************************************/
//懒猫社长商家版接口//部分
/*************************************************************************/

/*商家版登录*/
#define businessLoginUrl BaseUrl @"/WPT-OpenAPI?control=LCatBusiness&action=Login&username=%@&password=%@&identity=%@"
//退货详情
#define detailTuiHuoUrl BaseUrl @"/AppAutoLogin?action=RefundOrderDetail&refundorderno=%@&username=%@&sign2=%@&appname=lanmao&plat=ios&hasfooter=NO"
//延时发货
#define delayOrderUrl BaseUrl @"/WPT-OpenAPI?Orderno=%@&Shopuser=%@&Sendtime=%@&Sendtimerang=%@&Control=LCatBusiness&Action=DelaySendGoods&remark=%@"
/** 退货管理*/
#define tuiHuoMUrl BaseUrl @"/WPT-OpenAPI?Pagesize=%@&Pageindex=%@&Shopuser=%@&Status=%@&Control=LCatBusiness&Action=GetRefundOrders"
/** 退货操作*/
#define tuiHuoBtnUrl BaseUrl @"/WPT-OpenAPI?Dealtstatus=%@&Dealtuser=%@&Refundamount=%@&Refundorder=%@&remark=%@&Control=LCatBusiness&Action=DealtRefundOrder"
/** 退货计算退货金额*/
#define refundAmountUrl BaseUrl @"/WPT-OpenAPI?Refundorderno=%@&Control=LCatBusiness&Action=CalcaluteRefundAmount"
/****数据统计****/
#define dataStatisticsUrl  BaseUrl @"/AppAutoLogin?username=%@&sign2=%@&action=Statistics&terminal=%@&OSVersion=%@&plat=ios"










/*************************************************************************/
//懒掌柜接口//新
/*************************************************************************/
/**登录*/
#define LZGloginUrl BaseUrl @"/App/LCatManager/Call?action=Login&username=%@&pwd=%@&identity=%@"
/**退出登陆*/
#define lzgLoginOut BaseUrl @"/App/LCatManager/Call?action=SignOut&username=%@"
/**首页信息*/
#define firstPageUrl BaseUrl @"/App/LCatManager/Call?action=Index&username=%@&identity=%@"
/**首页过获取数据*/
#define indexUrl BaseUrl @"/App/LCatManager/Call?action=GetShopInfo&username=%@"
/**修改店铺信息*/
#define upDateShopMsgUrl BaseUrl @"/App/LCatManager/Call?action=ModifyShopInfo&username=%@&identity=%@&shopname=%@&isopen=%@&opentimestart=%@&opentimeend=%@&minsendamount=%@&serviceamount=%@&notice=%@"
/**上传头像*/
#define LZGSendHeaderImg BaseUrl @"/App/LCatManager/Call?action=UpLoadLogo&username=%@&sign2=%@&terminal=%@&OSVersion=%@"
/**消息接口*/
#define xiaoxiUrl BaseUrl @"/App/LCatManager/Call?action=GetPushNoticeList&username=%@&pageindex=%@&pagesize=%@"
//订单列表
#define OrderUrl BaseUrl @"/App/LCatManager/Call?action=OrderList&Pagesize=%@&Pageindex=%@&username=%@&orderstatus=%@&st=%@&et=%@&identity=%@&k=%@"
//订单发货
#define fahuoOrder BaseUrl @"/App/LCatManager/Call?action=DealtOrder&orderno=%@&username=%@&orderaction=send&identity=%@"
//订单取消
#define quxiaoOrder BaseUrl @"/App/LCatManager/Call?action=DealtOrder&orderno=%@&username=%@&orderaction=cancel&identity=%@&remark=%@"
//订单详情
#define detailOrderUrl BaseUrl @"/Order/detail/%@?username=%@&sign2=%@&plat=ios"
/**版本更新*/
#define UpdateVersion BaseUrl @"/App/LCatManager/Call?action=Upgrade&version=%@&plat=ios&identity=%@"
/**APPStore版本更新*/
#define Updatestore BaseUrl @"/App/LCatManager/Call?action=Upgrade&version=%@&plat=iosstore&identity=%@"

//修改密码 M站
#define changePWD BaseUrl @"/profile/password?username=%@&sign2=%@&plat=ios"

//数据统计 M站
#define tongjiM BaseUrl @"/profile/statistics?username=%@&sign2=%@&plat=ios"

//收款明细
#define shoukuanM BaseUrl @"/profile/income?username=%@&sign2=%@&plat=ios"

/**
 *  招商,M站接口默认是写死的。
 */
#define zhaoshangM @"http://h.lmboss.com" @"/Zhaoshang.html?username=%@&sign2=%@&plat=ios&terminal=%@&OSVersion=%@"

/**
 *  扫码收款
 */
#define scanForPayUrl BaseUrl @"/App/LCatManager/Call?action=CreateF2FPayeeOrder&username=%@&amount=%@&authcode=%@&paytype=%@&subject=testSubject&remark=testRemark"

/**
 *  扫码收款查询接口
 */
#define scanForPayResultUrl BaseUrl @"/App/LCatManager/Call?action=F2FQueryOrder&username=%@&orderno=%@"
//http://mlzgtest.lmboss.com/App/LCatManager/Call?action=F2FQueryOrder&username=lzg002&orderno=FP1604251038579921101&terminal=iPhoneOS9.3.1,iPhone7,2&OSVersion=IOS1.0.0&sign2=2566ffab39596b26ab74e2bd3828da37
/**
 *  扫码支付查看订单
 */
#define scanForPayOrderListUrl BaseUrl @"/profile/F2FPayOrder?username=%@&sign2=%@&plat=ios&terminal=%@&OSVersion=%@"

//http://mlzgtest.lmboss.com/profile/F2FPayOrder?username=sunjian&sign2=8e3d3d41ad9db357c5ba023b3afe0cea&plat=ios
#endif
